package com.itheima.service;

import com.itheima.pojo.BusinessException;
import com.itheima.pojo.Clazz;
import com.itheima.pojo.EmpQueryParam;
import com.itheima.pojo.PageResult;

import java.util.ArrayList;
import java.util.List;

public interface ClazzService {
    public PageResult<Clazz> page(EmpQueryParam empQueryParam);

    public void deleteById(Integer id) throws BusinessException;

    public void addClazz(Clazz clazz);

    public Clazz getInfo(Integer id);

    public void update(Clazz clazz);

    ArrayList<Clazz> getAllClass();
}
